<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>美食攻略 - 旅游景点介绍</title>
    <link rel="stylesheet" href="styles.css">
    <style>
        body {
            background-color: #fff9f0;
        }
        .back-link {
            display: inline-block;
            margin-bottom: 20px;
            color: #333;
            text-decoration: none;
            font-weight: bold;
        }
        .back-link:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <a href="index.html#food" class="back-link">← 返回首页</a>
    
    <section id="food">
        <h1>美食攻略</h1>
        <div class="content-container">
            <div class="food-item">
                <h2>特色菜肴</h2>
                <p>介绍当地最有代表性的几道菜肴及其制作方法。</p>
                <img src="image/涿州特色菜.jpg" alt="特色菜1">
            </div>
            <div class="food-item">
                <h2>小吃推荐</h2>
                <p>探索街头巷尾的各种美味小吃。</p>
                <img src="image/涿州小吃.jpg" alt="小吃">
            </div>
            <div class="food-item">
                <h2>美食街区</h2>
                <p>推荐当地最受欢迎的美食聚集地。</p>
                <img src="image/涿州鼓楼大街.jpg" alt="美食街">
            </div>
        </div>
    </section>

    <script src="script.js"></script>
    <script>
        // 更新导航高亮
        document.addEventListener('DOMContentLoaded', function() {
            document.querySelectorAll('nav a').forEach(link => {
                link.classList.remove('active');
            });
            document.querySelector('nav a[href="#food"]').classList.add('active');
        });
    </script>
</body>
</html>